Check that if there are multiple modes with the same ID (resolution,
refresh rate and handled flags) we correctly add the preferred mode to
the list of monitor modes.
https://bugzilla.gnome.org/show_bug.cgi?id=789153
Gbp-Pq: Name 0016-monitor-unit-tests-Check-non-first-preferred-modes.patch
Jonas Ådahl [Wed, 18 Oct 2017 15:22:01 +0000 (23:22 +0800)]
monitor/normal: Prefer modes with same flags as preferred mode
When generating MetaMonitorMode's, prefer CRTC modes that has the same
set of flags as the preferred mode. This not only is probably a better
set of configurable modes, but it'll guarantee that the preferred mode
is added.
This fixes a crash when the preferred mode was not the first mode with
the same resolution, refresh rate and set of handled modes.
https://bugzilla.gnome.org/show_bug.cgi?id=789153
Gbp-Pq: Name 0015-monitor-normal-Prefer-modes-with-same-flags.patch
Jonas Ådahl [Fri, 13 Oct 2017 06:34:19 +0000 (14:34 +0800)]
monitor-manager/xrandr: Use a single supported scales list for all
Under X11 we can only ever have the same scale configured on all
monitors. In order to use e.g. scale 2 when there is a HiDPI monitor
connected, we must not disallow it because there is a monitor that does
not support scale 2. Thus we must show the same scale for every monitor
and monitor mode, even though it might result in a bad experience.
Do this by iterating through all the monitors adding all supported
scales by the preferred mode, combining all the supported scales. This
supported scales list is then used for all monitor and modes no matter
what.
Jonas Ådahl [Fri, 13 Oct 2017 08:29:20 +0000 (16:29 +0800)]
compositor: Ignore offscreen windows when unredirecting
When determining whether we should unredirect a window or not, ignore
offscreen windows, and just check the top most visible window.
Previously this was not an issue, but since 'stack-tracker: Keep
override redirect windows on top' we started sorting the UI frames
window, which is an offscreen override redirect window, on top, causing
the unredirect checking code to always check whether to unredirect the
UI frames window. This effectively disabled the compositor bypass
functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=788493
Gbp-Pq: Name 0013-compositor-Ignore-offscreen-windows.patch
backends: add 'monitors-updated-internal' signal to only update internal state
Adding an internal signal and use it to update the internal state before
emitting "monitors-changed" which will be repeated by the screen to the world.
https://bugzilla.gnome.org/show_bug.cgi?id=788860
Gbp-Pq: Name 0008-backends-add-monitors-updated-internal-signal-to-onl.patch
Jonas Ådahl [Wed, 11 Oct 2017 09:55:50 +0000 (17:55 +0800)]
settings: Get UI scaling factor from primary logical monitor
Don't use MAX(logical monitor scales) to determine the UI scaling
factor, just use the primary logical monitor. That's where the shell UI
will most likely be.
https://bugzilla.gnome.org/show_bug.cgi?id=788820
Gbp-Pq: Name 0007-settings-Get-UI-scaling-factor-from-primary-logical-.patch
Florian Müllner [Thu, 20 Oct 2016 16:00:04 +0000 (18:00 +0200)]
gtk-shell: Work around non-working startup notifications
GNOME Shell relies on the MetaScreen::startup-sequence-changed signal,
which is tied to (lib)startup-notification and therefore X11. As a result,
when we remove the startup sequence of a wayland client, GNOME Shell will
not be notified about this until startup-notification's timeout is hit.
As a temporary stop-gap, go through XWayland even for wayland clients,
so that the signal is emitted when expected.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=768531
Applied-upstream: no
Gbp-Pq: Name bgo768531_workaround-startup-notifications.patch
Jeremy Bicha [Sat, 21 Oct 2017 23:47:22 +0000 (00:47 +0100)]
mutter (3.26.1-6) unstable; urgency=high
* debian/control.in: Bump libegl1-mesa-dev to (>= 17) (Closes: #878702)
* Cherry-pick more fixes from gnome-3-26 branch to fix crashes
and fix unredirecting full-screen windows:
- 0012-x11-window-Don-t-manage-InputOnly-windows.patch
- 0013-compositor-Ignore-offscreen-windows.patch
(LP: #1725821)
- 0015-monitor-normal-Prefer-modes-with-same-flags.patch
- 0016-monitor-unit-tests-Check-non-first-preferred-modes.patch
(LP: #1725153)
- 0017-compositor-Avoid-a-crash-if-top-window-finalized.patch
- 0018-Revert-ClutterActor-Optimize-away-idempotent-scale.patch
- 0019-Revert-tests-Fix-actor-anchors-test.patch
(Closes: #788140)
* Set urgency to high to not further delay the gjs/mutter transition